package com.rss.provider.spring.form;

import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name="subscriberForm")
public class SubscriberForm {
	
	private int id;
	private String name;
	private String email;
	private String subscribedTo;

	public String getSubscribedTo() {
		return subscribedTo;
	}

	public void setSubscribedTo(String subscribedTo) {
		this.subscribedTo = subscribedTo;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	@Override
	public String toString() {
		return "Subscriber [id=" + id + ", name=" + name + ", email=" + email
				+ "]";
	}
	
}
